#pragma once

#include "BaseShape.h"
#ifndef _CTEXT_
#define _CTEXT_

#ifdef NUM_OF_ANGLE
#undef NUM_OF_ANGLE
#endif
#define NUM_OF_ANGLE 4

class CText : public BaseShape
{
public:
	CText(void);
	CText(CPoint, CPoint, COLORREF);
	~CText(void);
	CText (CPoint m_pBegin, CPoint m_pEnd, BASESHAPE__T m_nShapeType, CString m_szText);
	void Serialize ( CArchive &ar);
public:
	BOOL Draw(CDC *);
	void setCoordinate();
};

#endif // !_CTEXT_